using System;
using System.Collections.Generic;
using System.Text;

namespace GymManager.Persistence.VO
{
    /// <summary>
    /// Class representing the stock item purchase value object
    /// </summary>
    public class StockItemPurchase
    {
        #region Attributes
        private Int32 _id;
        private Int32 _quantity;
        private Double _totalPrice;
        private Int32 _buyerUserId;
        private Int32 _stockItemId;
        private DateTime _purchaseDate;
        #endregion

        #region Properties
        public Int32 Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public Int32 Quantity
        {
            get { return _quantity; }
            set { _quantity = value; }
        }

        public Int32 BuyerUserId
        {
            get { return _buyerUserId; }
            set { _buyerUserId = value; }
        }

        public Double TotalPrice
        {
            get { return _totalPrice; }
            set { _totalPrice = value; }
        }

        public Int32 StockItemId
        {
            get { return _stockItemId; }
            set { _stockItemId = value; }
        }

        public DateTime PurchaseDate
        {
            get { return _purchaseDate; }
            set { _purchaseDate = value; }
        }
        #endregion
    }
}
